package com.realtyManage.springboot.Dao;


import com.realtyManage.springboot.Model.Do.ConferenceContent;
import com.realtyManage.springboot.Model.Do.UserTask;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 *会议纪要
 *
 * @author 杭州素色网络科技有限公司
 * @since 2019-10-03
 */

@Repository
public interface ConferenceContentRepository extends JpaRepository<ConferenceContent, Integer>, JpaSpecificationExecutor<ConferenceContent> {

    @Transactional
    @Modifying
    @Query(value = "delete from conference_content where id in (?1)",nativeQuery = true)
    int deleteConferenceContent(List ids);

}
